Notes/Domino Fix List
SPR # CKUA4RL48SFixed in 5.0.10 release

Product Area: Server Technical Area: Java - Back-end Classes Platform: Win NT

SPR# CKUA4RL48S - A memory leak while using the Java class library, NCSOW.jar with Websphere 3.5, has been identified. A workaround to this problem was implemented in R5.0.7 through a new NotesFactory.createSession() method. The new createSession() method has this signature:
lotus.domino.NotesFactory.createSession( String host, org.omg.CORBA.ORB orb, String user, String password )

Java programs that need to create many CORBA-remoted Sessions may use this form of createSession() to workaround this problem. These programs should create the ORB object once and keep re-using it for every session created. For example:
org.omg.CORBA.ORB orbObj = org.omg.CORBA.ORB.init((String[]) null, (java.util.Properties) null);
Session session = NotesFactory.createSession("", orbObj, "user name", "password");

In R5.0.10, a new change was made to allow an explicit ORB api call that can be invoked as ( orb.shutdown(false). This change will take care of cleaning up the Listenerthreads created by each particular orb instance.

There is no Lotus Support Services technote associated with this SPR right now. Please check again later.

Last Modified on 03/06/2002

Go back